package com.is.add.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 合并场馆关联表
 */
@Entity
@Table(name = "t_shop_relations")
public class ShopRelations {
    @Id
    @Column(name = "id")
    private Integer id;                 //ID
    @Column(name = "type")
    private Integer type;               //子场馆类型.1:为签约场馆,0:为未签约场馆
    @Column(name = "child_shop_id")
    private Integer childShopId;        //未签约场馆ID
    @Column(name = "parent_shop_id")
    private Integer parentShopId;       //签约场馆ID
    @Column(name = "start_time")
    private String startTime;           //生效时间
    @Column(name = "end_time")
    private String endTime;             //截止时间
    @Column(name = "available")
    private Boolean available;          //截止时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getChildShopId() {
        return childShopId;
    }

    public void setChildShopId(Integer childShopId) {
        this.childShopId = childShopId;
    }

    public Integer getParentShopId() {
        return parentShopId;
    }

    public void setParentShopId(Integer parentShopId) {
        this.parentShopId = parentShopId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Boolean getAvailable() {
        return available;
    }

    public void setAvailable(Boolean available) {
        this.available = available;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
